#include "Action.hpp"

Action::Action(Chess::Color color, Action::Type type)
	: color(color), type(type)
{}

Action::Action(const Action& action)
	: color(action.color), type(action.type)
{}

Action::~Action()
{}

Action::Type 	Action::getType() const
{	return this->type;	}

Chess::Color	Action::getColor() const
{	return this->color;	}


void	Action::displayDbg()
{
/*	cout << "ACTION" << this << " of type ";
	
	switch (type)
	{
		case Action::MOVE:
			cout << " MOVE";
			break;
			
		case Action::PAWN_PROMOTION:
			cout << " PAWN PROMOTION";
			break;
			
		case Action::CASTLING:
			cout << " CASTLING";
			break;
	}
	
	cout << endl;*/
}
